3.315 \(\int \frac{x}{a+b x^4+c x^8} \, dx\)

Optimal. Leaf size=154 \[ \frac{\sqrt{c} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x^2}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{c} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x^2}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{\sqrt{b^2-4 a c}+b}} \]

[Out]

(Sqrt[c]*ArcTan[(Sqrt[2]*Sqrt[c]*x^2)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*Sqr
t[b^2 - 4*a*c]*Sqrt[b - Sqrt[b^2 - 4*a*c]]) - (Sqrt[c]*ArcTan[(Sqrt[2]*Sqrt[c]*x
^2)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*Sqrt[b^2 - 4*a*c]*Sqrt[b + Sqrt[b^2 -
 4*a*c]])

_______________________________________________________________________________________

Rubi [A]  time = 0.228119, antiderivative size = 154, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.188 \[ \frac{\sqrt{c} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x^2}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\sqrt{c} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x^2}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{\sqrt{b^2-4 a c}+b}} \]

Antiderivative was successfully verified.

[In]  Int[x/(a + b*x^4 + c*x^8),x]

[Out]

(Sqrt[c]*ArcTan[(Sqrt[2]*Sqrt[c]*x^2)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*Sqr
t[b^2 - 4*a*c]*Sqrt[b - Sqrt[b^2 - 4*a*c]]) - (Sqrt[c]*ArcTan[(Sqrt[2]*Sqrt[c]*x
^2)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[2]*Sqrt[b^2 - 4*a*c]*Sqrt[b + Sqrt[b^2 -
 4*a*c]])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 29.9423, size = 144, normalized size = 0.94 \[ - \frac{\sqrt{2} \sqrt{c} \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x^{2}}{\sqrt{b + \sqrt{- 4 a c + b^{2}}}} \right )}}{2 \sqrt{b + \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}}} + \frac{\sqrt{2} \sqrt{c} \operatorname{atan}{\left (\frac{\sqrt{2} \sqrt{c} x^{2}}{\sqrt{b - \sqrt{- 4 a c + b^{2}}}} \right )}}{2 \sqrt{b - \sqrt{- 4 a c + b^{2}}} \sqrt{- 4 a c + b^{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x/(c*x**8+b*x**4+a),x)

[Out]

-sqrt(2)*sqrt(c)*atan(sqrt(2)*sqrt(c)*x**2/sqrt(b + sqrt(-4*a*c + b**2)))/(2*sqr
t(b + sqrt(-4*a*c + b**2))*sqrt(-4*a*c + b**2)) + sqrt(2)*sqrt(c)*atan(sqrt(2)*s
qrt(c)*x**2/sqrt(b - sqrt(-4*a*c + b**2)))/(2*sqrt(b - sqrt(-4*a*c + b**2))*sqrt
(-4*a*c + b**2))

_______________________________________________________________________________________

Mathematica [A]  time = 0.137201, size = 133, normalized size = 0.86 \[ \frac{\sqrt{c} \left (\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x^2}{\sqrt{b-\sqrt{b^2-4 a c}}}\right )}{\sqrt{b-\sqrt{b^2-4 a c}}}-\frac{\tan ^{-1}\left (\frac{\sqrt{2} \sqrt{c} x^2}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{\sqrt{b^2-4 a c}+b}}\right )}{\sqrt{2} \sqrt{b^2-4 a c}} \]

Antiderivative was successfully verified.

[In]  Integrate[x/(a + b*x^4 + c*x^8),x]

[Out]

(Sqrt[c]*(ArcTan[(Sqrt[2]*Sqrt[c]*x^2)/Sqrt[b - Sqrt[b^2 - 4*a*c]]]/Sqrt[b - Sqr
t[b^2 - 4*a*c]] - ArcTan[(Sqrt[2]*Sqrt[c]*x^2)/Sqrt[b + Sqrt[b^2 - 4*a*c]]]/Sqrt
[b + Sqrt[b^2 - 4*a*c]]))/(Sqrt[2]*Sqrt[b^2 - 4*a*c])

_______________________________________________________________________________________

Maple [A]  time = 0.016, size = 120, normalized size = 0.8 \[ -{\frac{c\sqrt{2}}{2}\arctan \left ({c{x}^{2}\sqrt{2}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}}-{\frac{c\sqrt{2}}{2}{\it Artanh} \left ({c{x}^{2}\sqrt{2}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \right ){\frac{1}{\sqrt{-4\,ac+{b}^{2}}}}{\frac{1}{\sqrt{ \left ( -b+\sqrt{-4\,ac+{b}^{2}} \right ) c}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x/(c*x^8+b*x^4+a),x)

[Out]

-1/2*c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctan(c*x^2*
2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2))-1/2*c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((-b+
(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(c*x^2*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(
1/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{x}{c x^{8} + b x^{4} + a}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x/(c*x^8 + b*x^4 + a),x, algorithm="maxima")

[Out]

integrate(x/(c*x^8 + b*x^4 + a), x)

_______________________________________________________________________________________

Fricas [A]  time = 0.279663, size = 836, normalized size = 5.43 \[ -\frac{1}{4} \, \sqrt{\frac{1}{2}} \sqrt{-\frac{b + \frac{a b^{2} - 4 \, a^{2} c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (c x^{2} + \frac{1}{2} \, \sqrt{\frac{1}{2}}{\left (b^{2} - 4 \, a c - \frac{a b^{3} - 4 \, a^{2} b c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt{-\frac{b + \frac{a b^{2} - 4 \, a^{2} c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) + \frac{1}{4} \, \sqrt{\frac{1}{2}} \sqrt{-\frac{b + \frac{a b^{2} - 4 \, a^{2} c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (c x^{2} - \frac{1}{2} \, \sqrt{\frac{1}{2}}{\left (b^{2} - 4 \, a c - \frac{a b^{3} - 4 \, a^{2} b c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt{-\frac{b + \frac{a b^{2} - 4 \, a^{2} c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) - \frac{1}{4} \, \sqrt{\frac{1}{2}} \sqrt{-\frac{b - \frac{a b^{2} - 4 \, a^{2} c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (c x^{2} + \frac{1}{2} \, \sqrt{\frac{1}{2}}{\left (b^{2} - 4 \, a c + \frac{a b^{3} - 4 \, a^{2} b c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt{-\frac{b - \frac{a b^{2} - 4 \, a^{2} c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) + \frac{1}{4} \, \sqrt{\frac{1}{2}} \sqrt{-\frac{b - \frac{a b^{2} - 4 \, a^{2} c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (c x^{2} - \frac{1}{2} \, \sqrt{\frac{1}{2}}{\left (b^{2} - 4 \, a c + \frac{a b^{3} - 4 \, a^{2} b c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt{-\frac{b - \frac{a b^{2} - 4 \, a^{2} c}{\sqrt{a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x/(c*x^8 + b*x^4 + a),x, algorithm="fricas")

[Out]

-1/4*sqrt(1/2)*sqrt(-(b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*
a^2*c))*log(c*x^2 + 1/2*sqrt(1/2)*(b^2 - 4*a*c - (a*b^3 - 4*a^2*b*c)/sqrt(a^2*b^
2 - 4*a^3*c))*sqrt(-(b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a
^2*c))) + 1/4*sqrt(1/2)*sqrt(-(b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a
*b^2 - 4*a^2*c))*log(c*x^2 - 1/2*sqrt(1/2)*(b^2 - 4*a*c - (a*b^3 - 4*a^2*b*c)/sq
rt(a^2*b^2 - 4*a^3*c))*sqrt(-(b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*
b^2 - 4*a^2*c))) - 1/4*sqrt(1/2)*sqrt(-(b - (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a
^3*c))/(a*b^2 - 4*a^2*c))*log(c*x^2 + 1/2*sqrt(1/2)*(b^2 - 4*a*c + (a*b^3 - 4*a^
2*b*c)/sqrt(a^2*b^2 - 4*a^3*c))*sqrt(-(b - (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^
3*c))/(a*b^2 - 4*a^2*c))) + 1/4*sqrt(1/2)*sqrt(-(b - (a*b^2 - 4*a^2*c)/sqrt(a^2*
b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))*log(c*x^2 - 1/2*sqrt(1/2)*(b^2 - 4*a*c + (a*b
^3 - 4*a^2*b*c)/sqrt(a^2*b^2 - 4*a^3*c))*sqrt(-(b - (a*b^2 - 4*a^2*c)/sqrt(a^2*b
^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c)))

_______________________________________________________________________________________

Sympy [A]  time = 8.74151, size = 88, normalized size = 0.57 \[ \operatorname{RootSum}{\left (t^{4} \left (4096 a^{3} c^{2} - 2048 a^{2} b^{2} c + 256 a b^{4}\right ) + t^{2} \left (- 64 a b c + 16 b^{3}\right ) + c, \left ( t \mapsto t \log{\left (x^{2} + \frac{256 t^{3} a^{2} b c - 64 t^{3} a b^{3} + 8 t a c - 4 t b^{2}}{c} \right )} \right )\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x/(c*x**8+b*x**4+a),x)

[Out]

RootSum(_t**4*(4096*a**3*c**2 - 2048*a**2*b**2*c + 256*a*b**4) + _t**2*(-64*a*b*
c + 16*b**3) + c, Lambda(_t, _t*log(x**2 + (256*_t**3*a**2*b*c - 64*_t**3*a*b**3
 + 8*_t*a*c - 4*_t*b**2)/c)))

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.409605, size = 1, normalized size = 0.01 \[ \mathit{Done} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x/(c*x^8 + b*x^4 + a),x, algorithm="giac")

[Out]

Done